home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 June / Macworld (1998-06).dmg / Shareware World / Comms & Internet / MHP 1.0.1 / ReadMe < prev    next >
Text File  |  1998-04-04  |  6KB  |  86 lines

  1. MultipleHostPresenz 1.0.1
  2. by Scott Konzem of the company soon to be known as Cajun Monk Software
  3.  
  4. Part 1-What does it do?/Who should use it?/etc.
  5. Part 2-How do I use it?
  6. Part 3-I have a problem...
  7. Part 4-Who do I send the money to for such an almighty program?
  8. Part 5-Who is this Scott Konzem?
  9. Part 6-Version History
  10. Part 7-Where to obtain new versions/support
  11. Part 8-Legal stuff
  12.  
  13. Part 1-What does it do?/Who should use it?/etc.
  14. What does it do?
  15. MultipleHostPresenz 1.0.1 (try saying that 5 times quickly) is an almighty AppleScript for use with NetPresenz 4.1 or later.  It allows you to use one server, say http://www.scottk.ml.org, and have a different page for http://mhp.cajunmonk.ml.org/ while running NetPresenz 4.1. It takes advantage of the new NP's missing file feature (that allows you to have a page or script for a missing file), reads the header sent by NP to find out what server the browser THINKS it is talking to (NetPresenz doesn't care), and redirects the client to the actual page inside of the folder for that virtual host.
  16.  
  17. Who should use it?
  18. Anyone that has a Mac that they wouldn't mind sitting in the corner as a dedicated server, high speed internet access, NetPresenz 4.1 (and $10 for this) can use my almighty program.  If you are wondering "How can I get my own domain?," think no more.  A company named Monolith (http://www.ml.org/) will give away free subdomains (such as mine, scottk.ml.org and cajunmonk.ml.org) to all applicants.
  19.  
  20. What if I don't register?
  21. It should never come to that. The unregistered version of MHP will occasionally tell a random user that you haven't registered (1/5 odds). This way, your users will know how cheap you are.
  22.  
  23. Part 2-How do I use it?
  24. First, you need to know the following things:
  25. 1. A configured version of NetPresenz with WWW and CGI turned on (consult it's
  26.         documentation)
  27. 2. The location of the shared folder that you use for the WWW with NetPresenz
  28. 3. The name of the hosts that MHP will be hosting
  29.  
  30. Then, you must dissect each of the host names into their little parts and put them in reverse order as shown.
  31. www.cajunmonk.ml.org becomes org, ml, cajunmonk, www
  32. www.company.com (yes, I know that's another MicroDuh! site) becomes com, company, www
  33.  
  34. Inside of your shared folder, make a folder for the top level domains, inside them put folders for the second level domains, and so on and so forth.
  35.  
  36. For instance, if I were going to host www.cajunmonk.ml.org, mhp.cajunmonk.ml.org, and www.company.com, my shared folder would look like this with list view turned on:
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Into the www folder within cajunmonk, I would put all of the stuff for www.cajunmonk.ml.org. I would do the same for the mhp folder and company.com
  55. s www folder too.
  56.  
  57. I would reccommend putting a missing file file into each top level domain folder. This way, if someone tries to get ww.cajunmonk.ml.org, the script won't be caught in a loop (not good).
  58.  
  59. NOTE: Make sure that you have the AppleScript extension found inside your system software installers or at:
  60. ftp://ftpdev.info.apple.com/devworld/Development_Kits/AppleScript/AppleScript_Setup/
  61. It should be something along the lines of Apple%27s_Scripting_Syste.sit.hqx.
  62.  
  63. Part 3-I have a problem...
  64. Contact me at mhpbugs@mail.cajunmonk.ml.org.  Do note that I will try to get to everybody, but if the mail comes pouring in (yeah, right) I might not be able to answer you.
  65.  
  66. 4-Who do I send the money to for such an almighty program?
  67. You can use the almighty "Register" program to help pay for the endless supply of cola required to keep me awake when it's 2am and I am writing code, readme's, or debugging. It's only $10 and will remove that annoying message from your user's screens that tells them that you didn't register. A serial number and instructions on how to use it will be sent to you after registration.
  68.  
  69. 5-Who is this Scott Konzem?
  70. I am a 13 year old who obviously has too much time on his hands.  I have two Macs, a Motorola StarMax 3000/240 and a Powerbook 150 (4/120!) being used as a server (and a darn good one too!).  This is the first program that I have ever completed and the first AppleScript that I ever attempted.  I know C, Java, JavaScript, HTML, and AppleScript (it looks good on a resume).  I am also in the process of learning the protocols of the internet.  I can already make manual POP3 (getting mail) and SMTP (sending mail) connections and am currently studying HTTP.  As you can see, I'm quite a nerd. Just for suffering through that, I will tell you what you have probably been wondering/laughing about.  My last name is pronounced as if it were "Kawn zum".
  71.  
  72. 6-Version History
  73. 1.0.1-Minor bug fixes, Register fixed so that email addresses are required.
  74. 1.0-The first REAL version.  Configuration need was removed,
  75.         bugs were fixed, stability was added, support for 
  76.         multiple domains was added, and it costs $10.
  77. 0.9-Original release. Very buggy. Difficult configuration.
  78.  
  79. 7-Where to obtain new versions/support
  80. New versions and support may be obtained at the MHP web site at http://MHP.cajunmonk.ml.org/ and email support at mhp@mail.cajunmonk.ml.org.  Please don't mail me until you have read this readme and checked the web site and made sure that you are using MHP correctly.
  81.  
  82. 8-Legal Stuff
  83. This package may be freely distributed in its unmodified state as long as this documentation is included. Scott Konzem and everybody even remotely connected to the writing, distribution, testing, etc. of this program make no claims as the suitability of this program or information for any particular task. You examine and use this program and information at your own risk. If for some reason, the world ends, your Mac crashes, somebody complains about the minor delay caused by this script, or some other tragedy, I am not responsible. I won't get sued for trying to help my fellow Mac users make quality servers at a low cost.
  84.  
  85. AppleScript, Apple, and any other of Apple Computer's trademarks mentioned are registered trademarks of Apple Computer, Inc. 
  86. All other trademarks mentioned are registered trademarks of their respective owners.